package com.lzc.tlmail.tlmailproduct.feign;

import com.lzc.common.to.SkuDiscount;
import com.lzc.common.to.SpuBoundsTo;
import com.lzc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author lzc
 * @create 2020-09-03 14:39
 */
@FeignClient("coupon-service")
public interface CouponFeignService {

    /**
     * 添加spu积分信息
     * @param
     */
    @PostMapping("coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("coupon/skufullreduction/save")
    R saveSkuDiscount(@RequestBody SkuDiscount skuDiscount);
}
